{% extends 'base.html' %}

{% block content%}
<div class="span-15 left">
	{% block detail%}
	
	{% endblock %}
</div>
<div class="span-4 last right">
	<ul>
	{% load hierarchies %}
	{% get_category the-paper as paper_category %}
	{% if paper_category.child.all %}
		<h2>Sub Categories</h2>
	{% endif %}
	{% for cat in paper_category.child.all%}
		<li><a href="{{cat.get_absolute_url}}">{{cat.name}}</a></li>
	{% endfor %}
	</ul>
</div>
{% endblock %}